package com.ruicar.afs.cloud.manage.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.manage.common.entity.ManageCancelRecord;
import com.ruicar.afs.cloud.manage.contractcancel.vo.ContractCancelManageVO;

/**
 * @author: Lee
 * @date 2020-05-30 04:44:59
 * @description
 */
public interface ManageCancelRecordService extends IService<ManageCancelRecord> {

    /**
     * 保存合同取消信息
     * @param manageCancelRecord
     * @author: xudongdong
     */
    void saveCancelRecord(ContractCancelManageVO manageCancelRecord);

    /**
     * 提交合同取消信息
     * @param manageCancelRecord
     * @author: xudongdong
     */
    void submitCancelRecord(ContractCancelManageVO manageCancelRecord);

    /**
     * 审批流程
     * @param manageCancelRecord
     * @author: xudongdong
     */
    boolean saveProposalApplicationInfo(ContractCancelManageVO manageCancelRecord);

    /**
     * 合同取消列表
     * @param vo
     * @author: xudongdong
     */
    IPage getContractCancelList(Page page, ContractCancelManageVO vo);
}
